package chapter5.service;

import chapter5.entity.Admin;

import java.util.List;

public interface AdminService {
    /**
     * 注册
     */
    public int adminService(Admin admin);

    /**
     * 登录
     */
    public int loginAdmin(Admin admin);


    /**
     * 删除
     * @param delete
     * @return
     */
    int delete(String delete);


    /**
     * 修改
     */
    int update(Admin admin);

    /**
     * 查询
     */

    List<Admin> selct();

}
